import request from '../utils/request'
export function getInfo(params) {
	return request({
		url: '/admin/member/getInfo',
		method: 'get',
		params:params
	})
}

export function list(params) {
  return request({
    url: '/admin/member/list',
    method: 'get',
    params: params
  })
}

export function memberList(params) {
  return request({
    url: '/admin/member/memberList',
    method: 'get',
    params: params
  })
}

export function save(params, data) {
  return request({
    url: '/admin/member/save',
    method: 'post',
	params: params,
    data: data
  })
}

  export function find(id) {
    return request({
      url: '/admin/member/find/' + id,
      method: 'get'
    })
  }

  export function update(data) {
    return request({
      url: '/admin/member/update',
      method: 'post',
      data: data
    })
  }

  export function del(ids) {
    return request({
      url: '/admin/member/del/' + ids,
      method: 'post'
    })
  }

  export function createQrcode() {
    return request({
      url: '/member/createQrcode',
      method: 'get'
    })
  }




